<?php
/**
 * Created by PhpStorm.
 * User: zng
 * Date: 2020/3/25
 * Time: 14:04
 */
namespace app\api\traits\model\order;

Trait ShoppingCart {

    public function foods()
    {
        return $this->belongsTo(\app\api\model\foods\Foods::class, 'fid');
    }

}